CREATE: Create a maze and use a sprite to navigate the maze to reach its end.

Useful Links: Example #1

Be sure to read the technical requirements in the comments!

Saving and Submitting: Run your code often to save it, and Submit to turn in and share your work!

To navigate the page using the TAB key, first press ESC to exit the code editor.

### ---------------------------------- ### MINIMUM TECHNICAL REQUIREMENTS ### ### ---------------------------------- ###----------------------------------------- ### Create a function with a docstring to set up ### a maze or race track and add an end to the maze. ### ### Note: The maze and its end should be different colors. ### ------------------------------------------ ###----------------------------------------- ### Add a function to add the sprite which will move ### through the maze or track. ###----------------------------------------- ###----------------------------------------- ### Add functions to move the sprite. ###----------------------------------------- ###----------------------------------------- ### Add a Collision with Shape event to determine what ### happens when the sprite collides with the maze and ### the maze's end. ###----------------------------------------- ###----------------------------------------- ### Create a main() that calls the above functions ### and uses event handlers to events to your sprite. ###-----------------------------------------
  • Run Code
  • Submit Work
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)